
export const formData = {
    getItemUrl: 'merchant/sku/getItemById/',
    updateUrl: 'merchant/sku/updateAction/',
    createUrl: 'merchant/sku/createAction/',
    formKey: 'sku',
    updateFieldList: [
        { formType: 'Record', showName: '所属商品', key: 'item', width: 5, label: 'name', value: 'id' },
        { formType: 'Input', showName: 'sku编号', key: 'skuNum', width: 5 },
    ],
    detailFieldList: [
        { formType: 'Input', showName: '名称', key: 'name', width: 5 },
    ],
    options: {
        status: [
            {value: '1', label: "正常"},
            {value: '2', label: "异常"}
        ],
        isShow: [
            {value: 1, label: "是"},
            {value: 0, label: "否"}
        ]
    },
    dicts: {
        status: {
            '1': "正常",
            '2': "异常"
        }
    }
}
